<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">商品Code：</label>
								<div class="col-sm-8">
									<input id="goodsSku" name="goodsCode" class="form-control" type="text">
								</div>
								<!--<span id="testView"></span>-->
								<!--<div id="test2"></div>-->
							</div>
														<div class="form-group">
								<label class="col-sm-3 control-label">商品名称：</label>
								<div class="col-sm-8">
									<input id="goodsName" name="goodsName" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">单价：</label>
								<div class="col-sm-8">
									<input id="goodsPrice" name="goodsPrice" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">商品厂家：</label>
															<div class="col-sm-8">
																<select data-placeholder="--选择厂家--" name="providerId" id="providerId"
																		class="form-control chosen-select" tabindex="2" required>
																	<option value="">--选择厂家--</option>
																</select>
															</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">商品类型：</label>
								<div class="col-sm-8">
									<input id="goodsType" name="goodsType" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">箱零比：</label>
								<div class="col-sm-8">
									<input id="goodsCases" name="goodsCases" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">包装比：</label>
								<div class="col-sm-8">
									<input id="packageSize" name="packageSize" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">箱重：</label>
								<div class="col-sm-8">
									<input id="boxWigth" name="boxWigth" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">日期类型：</label>
								<div class="col-sm-8">
									<input id="dateType" name="dateType" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">保质期：</label>
								<div class="col-sm-8">
									<!--<input type="text" class=""  id="test1">-->
									<input id="goodsGuarantePeriod" name="goodsGuarantePeriod" value="" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">
								<label class="col-sm-3 control-label">预警天数：</label>
								<div class="col-sm-8">
									<input id="goodsEarlyWarning" name="goodsEarlyWarning" class="form-control" type="text">
								</div>
							</div>
														<!--<div class="form-group">-->
															<!--<label class="col-sm-3 control-label">：</label>-->
															<!--<div class="col-sm-8">-->
																<!--<input id="providerId" name="providerId" class="form-control" type="text">-->
															<!--</div>-->
							<!--</div>-->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/lay/modules/laydate.js"></script>
	<script type="text/javascript" src="/js/appjs/provider/goodsInfo/add.js">
	</script>
	<script>
        lay('#version').html('-v'+ laydate.v);

        //执行一个laydate实例
        laydate.render({
            elem: '#goodsGuarantePeriod' //指定元素
        });
	</script>
</body>
</html>
